//
//  MBBottomView.h
//  MiBaoTu
//
//  Created by 彭鹏 on 16/10/6.
//  Copyright © 2016年 com.caesartech15. All rights reserved.
//

#import <UIKit/UIKit.h>
@class MBBottomView;
@protocol MBBottomViewDelegate <NSObject>
@optional
- (void)onSelectItemPraiseWithView:(MBBottomView *)view withValue:(id)value;      //点赞
- (void)onselectItemForShouCangWithView:(MBBottomView *)view withValue:(id)value;      //收藏
- (void)onSelectITemForCommentWithView:(MBBottomView *)view;   //评论
- (void)onSelectITemForShareWithView:(MBBottomView *)view withValue:(id)value;    //分享


@end
@interface MBBottomView : UIView

@property (nonatomic,assign)id<MBBottomViewDelegate>delegate;

@property (nonatomic,assign) BOOL                        text;
@property (nonatomic,assign) BOOL    isCollect;//是否已收藏
@property (nonatomic,assign) BOOL    isParise;//是否已点赞

@property (nonatomic,strong) NSDictionary *dataDic;
@property (nonatomic,strong) NSString   *commentNum;
@property (nonatomic,strong) NSString   *shareNum;

@property (nonatomic,strong) UIButton * praiseBtn;//点赞
@property (nonatomic,strong) UIButton * collectBtn;//收藏
@property (nonatomic,strong) UIButton * commentBtn;//评论
@property (nonatomic,strong) UIButton * shareBtn;//分享

@property (nonatomic,strong) UILabel * numOfZan;//点赞数
@property (nonatomic,strong) UILabel * numOfComment;//评论数
@property (nonatomic,strong) UILabel * numOfCollect;//收藏数
@property (nonatomic,strong) UILabel * numOfShare;//分享数

- (void)onChangePraiseDate:(BOOL)isPrase;
- (void)onChangeCollectionDate:(BOOL)isCollection;

@end